<%-- 
    Document   : check_out
    Created on : Mar 13, 2013, 11:23:00 PM
    Author     : duonghung1369
--%>

<%@tag description="put the tag description here" pageEncoding="UTF-8"%>

<%-- The list of normal or fragment attributes can be specified here: --%>
<%@taglib uri="/struts-tags" prefix="s"%>

<%-- any content can be specified here e.g.: --%>
<h1>Check out!</h1>
<s:actionerror cssStyle="color:red;"/>
<form action="../order/submited_checkout.html" method="post" >
    <table border="0">
        <tbody>
            <tr>
                <td>
                    First Name(*)
                </td>
                <td>
                    <input name="profile.firstname" value="<s:property value="profile.firstname" />" title="max 20 characters" type="text" maxlength="20" required />
                </td
            </tr>
            <tr>
                <td>
                    Last Name(*)
                </td>
                <td>
                    <input name="profile.lastname" value="<s:property value="profile.lastname" />" type="text" title="max 30 characters" maxlength="30" required />
                </td>
            </tr>
            <tr>
                <td>
                    Email(*)
                </td>
                <td>
                    <input name="profile.email" type="email" value="<s:property value="profile.email" />" title="Please fill out your correct email" maxlength="50" required />
                </td>
            </tr>
            <tr>
                <td>
                    Address(*)
                </td>
                <td>
                    <textarea title="Please fill out your address" name="profile.address" rows="5" cols="20" required ><s:property value="profile.address" /></textarea>
                </td>
            </tr>
            <tr>
                <td>
                    Phone Number
                </td>
                <td>
                    <input name="phoneNumber" value="<s:property value="profile.phoneNumber" />" type="tel" maxlength="13"  />
                </td>
            </tr>
            <tr>
                <td>
                    Message:
                </td>
                <td>
                    <textarea title="Please fill out your message" name="note" rows="5" cols="20" required ><s:property value="note" /></textarea>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input type="hidden" style="display: none;" name="cartXML" />
                </td>
            </tr>
            <tr>
                <td>

                </td>
                <td colspan="2">
                    <input type="hidden" style="display: none" id="input-checkout-cartXML" name="cartXML" />
                </td>
            </tr>
            <tr>
                <td>

                </td>
                <td>
                    <input name="btnCheckout" type="submit" value="Submit" />
                    <input name="btnReset" type="reset" value="Reset" />
                </td>
            </tr>
        </tbody>
    </table>
</form>